package cn.demographic.dao;

import java.util.List;

import cn.demographic.entity.Relationship;

public interface RelationshipMapper {
    int deleteByPrimaryKey(Integer betweenId);

    int insert(Relationship record);

    int insertSelective(Relationship record);

    Relationship selectByPrimaryKey(Integer betweenId);

    int updateByPrimaryKeySelective(Relationship record);

    int updateByPrimaryKey(Relationship record);
    
    /**
     * 查询家庭关系信息
     * @return
     */
  	List<Relationship> findRelationship();
}